package com.xiaotian.manage;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication // spring boot核心注解
@EnableDubbo // 开启dubbo
@ComponentScan("com.xiaotian.common") // 扫描common包
@ComponentScan("com.xiaotian.manage") // 扫描本项目
public class ManageApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManageApplication.class, args);
    }
}
